<?php 

require_once '../lib/JSCasts.php'; 

JSCasts::configure(array(
    'indexFile' => $_SERVER['SCRIPT_FILENAME'],
    'baseDir'   => realpath('../../lib/')
));

JSCasts::load('FrontController');

JSCasts_FrontController::configure('Static', 'home');
JSCasts_FrontController::respond();